<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;" charset="utf-8" />
</head>
<body>
    <?php echo form_open();?>
    <?php if(isset($error)){echo $error;}?>
        <table>
            <tr>
                <td>User Name:</td>
                <td><?php echo form_input('user_name') .form_error('user_name'); ?></td>
            </tr>
            <tr>
                <td>password:</td>
                <td><?php echo form_password('password') .form_error('password'); ?></td>
            </tr>
        </table>
    <?php echo form_submit('','submit');?>
    <?php echo form_close(); ?>
</body>
</html>
